package com.zretc.entity;

/**
 * 员工工资账套实体类
 * @author wangxinghang
 */
public class EmployeeSalary {

    //编码
    private Integer id;
    //员工编码
    private Integer employeeId;
    //账套编码
    private Integer salaryId;
    //员工对象
    private Employee employee;
    //账套对象
    private Salary salary;


    public EmployeeSalary() {
    }

    public EmployeeSalary(Integer id, Integer employeeId, Integer salaryId) {
        this.id = id;
        this.employeeId = employeeId;
        this.salaryId = salaryId;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public Integer getSalaryId() {
        return salaryId;
    }

    public void setSalaryId(Integer salaryId) {
        this.salaryId = salaryId;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public Salary getSalary() {
        return salary;
    }

    public void setSalary(Salary salary) {
        this.salary = salary;
    }

    @Override
    public String toString() {
        return "EmployeeSalary{" +
                "id=" + id +
                ", employeeId=" + employeeId +
                ", salaryId=" + salaryId +
                ", employee=" + employee +
                ", salary=" + salary +
                '}';
    }
}
